package com.detech.sboh.base.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 用户头像上传 配置属性
 *
 */
@Configuration
@ConfigurationProperties(prefix = "user.headpicture")
public class HeadPictureProperties {

    private String[] fileExt = {"bmp", "gif", "jpg", "jpeg", "png"};

    private Long fileSize = 50L;

    private String filePath = "/headpicture";

    public String[] getFileExt() {
        return fileExt;
    }

    public void setFileExt(String[] fileExt) {
        this.fileExt = fileExt;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
